package com.example.monitordemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ttt")
public class TestController {
    @GetMapping("/rr")
    public String rr(){
        return "rr";
    }

    @GetMapping("/erro")
    public String erro(){
        throw new RuntimeException("cecefce");
    }
}
